<%@ page language="java" pageEncoding="utf-8"%>
<%@ page language="java" import="java.util.*"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>"/>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/base_1.css" />
<title>国际研究生教育法律法规信息资料数据库</title>
<link rel="stylesheet" type="text/css" href="css/DetailInfo.css" />
<link rel="stylesheet" type="text/css" href="css/base.css" />
<link rel="stylesheet" type="text/css" href="css/comment.css" />
<script type="text/javascript" src="js/jquery-1.7.min.js"></script>
<script type="text/javascript" src="js/secloud.js"></script>
<script type="text/javascript" src="js/showfileinfo.js"></script>

</head>



<body>
	<s:include value="../home_top.jsp"/>
  <div id="m">
  	<p id="lg"><a href=""><img src="images/LogoMaker.jpg"  height="80" /></a></p>
	<div id="fm">
    	<s:form namespace="/file" action="searchFile" method="get">
			<s:hidden name="pageSize" value="15"></s:hidden>
			<s:hidden name="pageNow" value="1"></s:hidden>
       	  <input type="text" name="searchInfo" id="kw" maxlength="100" autocomplete="off"/>
            <span class="btn_wr">
   	      	<s:submit value="%{getText('_Search')}" id="su" cssClass="btn" onmousedown="this.className='btn btn_h'" onmouse="this.className='btn'"/>
            </span>
        </s:form>
    </div>
   
    <p id="lm"></p>
    <div>
	  <div class="left width-717">
        <div class="s-container">
        <div class="s-title" id="s_mod_topsearch_titleBar">
        	
                <span class="s-topsearch-title">
                	<s:property value="item.fileName"/>
                	<s:if test="item.state == 2">
						<span style="color:red"><s:text name="_Invisible"/></span>
					</s:if>
                </span>
            </div>
            <div class="s-content" id="s_mod_topsearch_content" style="">
            
        	<table width="100%" border="0" cellpadding="2" cellspacing="0" id="result_1"> 
        	
            <tbody class="file_content">
            	
                <tr>
          <td><s:text name="_FileName"/><s:text name="_ChineseText"/>：  <s:property value="item.fileNameCh"/> </td>
        </tr>
        <tr>
          <td><s:text name="_IssuingTime"/>: <s:date format="yyyy" name="item.publishTime"/>年</td>
        </tr>
        <s:bean id="show_code" name="com.prp.struts.bean.GetShowCode">	
		</s:bean>
        <tr>
          <td><s:text name="_Country"/>: <s:property value="#show_code.showCode[item.country]"/></td>
        </tr>
        <tr>
          <td><s:text name="_IssuingAgency"/>: <s:property value="item.publishOrgan"/></td>
        </tr>
        <tr>
          <td><s:text name="_IssuingAgency"/><s:text name="_ChineseText"/>: <s:property value="item.publishOrganCh"/></td>
        </tr>
        <tr>
          <td><p><s:text name="_MainContent"/>:</p>
		  <p><s:property value="item.mainContent"/></p></td>
        </tr>
         <tr>
          <td><p><s:text name="_MainContent"/><s:text name="_ChineseText"/>:</p>
		  <p><s:property value="item.mainContentCh"/></p>
		  </td>
        </tr>
        <tr>
          <td>
            
              
              <ul class="s-topsearch-box clearfix" id="s_topsearch">
              	<li class="s-topsearch-item">
              	<s:if test="isSUrl">
              	
              		<a href="<s:property value="item.dataSource"/>" class="down"><s:text name="_Source"/></a>
              	</s:if>
              	<s:else>
              	<p><s:text name="_Source"/>:<s:property value="item.dateSource"/></p>
              	</s:else>
         
              		
              	</li>
              	<s:bean var="user_auth_2" name="com.prp.struts.bean.UserAuth">
					<s:param name="username" value="#session.username"/>
				</s:bean>
				
				<s:if test="#user_auth_2.is_FileAdmin">
              	<li class="s-topsearch-item">
                	<a class="down" href="<s:url action="editpage" namespace="/file">
			          	<s:param name="itemID" value="itemID"></s:param>
			          	<s:param name="next">show</s:param>
			          	</s:url>"
			          ><s:text name="_Edit"/></a>
                </li>
                </s:if>
                
                <s:if test="#session.username == null">
                	<li class="s-topsearch-item">
                	<p><s:text name="_Needed"/><a class="down" href="user/loginPage.action"><s:text name="_Login"/></a></p>
                	</li>
                </s:if>
                <s:else>
                <li class="s-topsearch-item">
                	<a target="_blank" class="down" href="<s:url action="download" namespace="/file">
          				<s:param name="itemId" value="itemID"></s:param>
          				</s:url>"
          			><s:text name="_Download"/></a>
          			
                </li>
                <li class="s-topsearch-item">
                	<a id="collect_item" class="down" onclick="collect(<s:property value="itemID"/>)" href="javascript:void(0);" 
                	<s:if test="isCollect"> style="display:none"</s:if> ><s:text name="_Collect"/></a>
          			<a id="del_collect" class="down" href="javascript:void(0);" onclick="del_collect(<s:property value="itemID"/>)"
          			<s:if test="!isCollect"> style="display:none"</s:if> ><s:text name="_DelCollect"/></a>
          			
          			
                </li>
                </s:else>
                <s:if test="#user_auth_2.is_FileAdmin">
                <li class="s-topsearch-item-2">
                <s:form method="get" action="switchItemStat" namespace="/file" id="id_item_stat">
          				<s:hidden name="itemID"/>
          				<s:text name="_ShowState"/>:<s:select list="#{'1':getText('_Visible'),'2':getText('_Invisible') }" name="new_stat"
          				onchange="item_stat_onChanged()"></s:select>
          			</s:form>
          		</li>
          		</s:if>
          		</ul>
              
            </td>
        </tr>
                
        	</tbody>
            </table>
            </div>
          </div>
          </div>
          <div class="right width-253">
          	
          	<s:action name="docInfo" namespace="/file" executeResult="true">
          	<s:param name="itemID" value="itemID"></s:param>
          	</s:action>
          </div>
       </div>
       <div class="clear"></div>
          <div class="m-t23">
          
          <s:action name="showComment" namespace="/file" executeResult="true">
          	<s:param name="itemID" value="itemID"></s:param>
          </s:action>
          
          </div>
    
    </div>
    <div id="footer"><p>Copyright </p></div>
</body>
</html>
